package com.nb.mapper;

import com.mybatisflex.core.BaseMapper;
import com.mybatisflex.core.paginate.Page;
import com.nb.entity.SysConfigHistory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;


@Mapper
public interface SysConfigHistoryMapper extends BaseMapper<SysConfigHistory> {
    // 移除分页参数，直接返回所有记录
    List<SysConfigHistory> selectAllHistory(
            @Param("configId") Integer configId,
            @Param("startTime") LocalDateTime startTime,
            @Param("endTime") LocalDateTime endTime);
}